<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required"  class="form-control" name="row[user_id]" type="text" value="{$row.user_id}" readonly>
        </div>
    </div>
    {notempty  name="row.images"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline plupload-preview" >
                {volist name="row.images" id="vo"}
                <li class="col-xs-3" style="cursor: pointer;">
                    <a href="{$vo}" data-url="{$vo}" target="_blank" class="thumbnail"><img src="{$vo}" class="img-responsive"></a>
                {/volist}
            </ul>
        </div>
    </div>
    {/notempty}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control" rows="5" name="row[content]" cols="50" readonly>{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reply')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-reply" class="form-control " rows="5" name="row[reply]" cols="50">{$row.reply}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reply_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-reply_images" data-rule="" class="form-control" size="50" name="row[reply_images]" type="text" value="{$row.reply_images}">
                <div class="input-group-addon no-border no-padding">
                <span><button type="button" id="plupload-reply_images" class="btn btn-danger plupload" data-input-id="c-reply_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-reply_images" class="btn btn-primary fachoose" data-input-id="c-reply_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-reply_images"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-images"></ul>
        </div>
    </div>
    <input type="hidden" name="row[status]" value="1">
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
